package com.jccfc.iMessage;

import com.jccfc.iMessageTo.IMessageTo;

import java.util.List;

/**
 * @Auther: qym
 * @Date: 2020/12/28 14:00
 * @Description: 发送消息message的统一接口
 */
public interface IMessage {

    //发送一条消息
    boolean sendMessage(IMessageTo iMessageTo);

    //发送多条消息
    boolean sendMessage(List<IMessageTo> iMessageTos);

    //发送一条定时消息
    boolean sendScheduleMessage(IMessageTo iMessageTo);

    //发送多条定时消息
    boolean sendScheduleMessage(List<IMessageTo> iMessageTos);

    //初始化参数
    void init();

}
